Q3Mesh_GetFaceComponent
You can use theQ3Mesh_GetFaceComponent
function to get the component of a mesh to which a face belongs.
TQ3Status Q3Mesh_GetFaceComponent ( TQ3GeometryObject mesh, TQ3MeshFace face, TQ3MeshComponent *component);
mesh
- A mesh.
face
- A mesh face.
component
- On exit, the mesh component that contains the specified mesh face.
DESCRIPTION
TheQ3Mesh_GetFaceComponent
function returns, in thecomponent
parameter, the mesh component that contains the mesh face specified by themesh
andface
parameters.SPECIAL CONSIDERATIONS
TheQ3Mesh_GetFaceComponent
function might not accurately report the mesh component that contains a mesh face if called while mesh updating is delayed (that is, after a call toQ3Mesh_DelayUpdates
but before the matching call toQ3Mesh_ResumeUpdates
).